package com.qf.dao;

import com.qf.pojo.User;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * 保护你的大熊
 * 2022/3/10
 * 10:18
 */
public interface UserDao {

    public List<User> findAll();

    @Select("select * from t_users where id = #{id}")
    public User findOne(@Param("id") Integer id);

}
